/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.ismaila.designPatterns.behavioural.command;

/**
 *
 * @author Chelsea
 */
public class DinnerCommand implements Command{
Dinner dinner;
public DinnerCommand(Dinner dinner){
this.dinner=dinner;
}
@Override
public String execute(){
    String dinnerTime;
    dinnerTime = dinner.makeDinner();
    return dinnerTime;
}

}
